﻿@model Inovout.Cloud.Models.Project

<div class="project-create">
    <div class="project-create-titile">
        <span>创建项目</span>
    </div>
    @using (Html.BeginForm("Save", "Project"))
    { 
        @Html.Hidden("Membership.Id",(int)ViewBag.Membership.Id);
        @Html.ValidationSummary(true)
        <div class="project-create-content">
            <div class="wgt-l6">
                @Html.LabelFor(model => model.Title, "项目标题:", new { @class = "w6" })
                @Html.TextBoxFor(model => model.Title, new Dictionary<string, object>() { { "class", "w-1" } })
                @Html.ValidationMessageFor(model => model.Title)
            </div>
            <div class="wgt-l6">
                @Html.LabelFor(model => model.Name, "项目名称:", new { @class = "w6" })
                @Html.TextBoxFor(model => model.Name, new Dictionary<string, object>() { { "class", "w-1" } })
                @Html.ValidationMessageFor(model => model.Name)
            </div>
        </div>
        <div class="project-create-buttons">
            <input type="submit" value="创建" id="bt_Create" data-click-command="page.closeDialog()" /><input type="button" value="取消" id="bt_Cancel" data-click-command="page.closeDialog()" />
        </div>
    }
</div>

